.space-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.space-header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.space-header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.space-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-size: 0.85em;
    text-align: center;
    line-height: 1.6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.space-loading,
.space-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    font-size: 1.5em;
}

.space-error a {
    color: #667eea;
    margin-top: 20px;
    text-decoration: none;
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
}

.model-detail-panel {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.model-detail-panel .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    padding: 5px 10px;
}

.model-detail-panel .close-btn:hover {
    color: #333;
}

.model-detail-panel h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.model-detail-panel p {
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.model-detail-panel .model-actions {
    margin-top: 20px;
}

.model-detail-panel .btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.model-detail-panel .btn-download:hover {
    transform: translateY(-2px);
}

.model-detail-panel .comment-count {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    color: #999;
    font-size: 0.9em;
}